.TH std::chrono::local_t 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::chrono::local_t \- std::chrono::local_t

.SH Synopsis
   Defined in header <chrono>
   struct local_t {};          \fI(since C++20)\fP

   The class local_t is a pseudo-clock that is used as the first template argument to
   std::chrono::time_point to indicate that the time point represents local time with
   respect of a not-yet-specified time zone. local_time supports streaming and the full
   set of time point arithmetic.

  Time point family

   Defined in namespace std::chrono
   template<class Duration>
   using local_time = std::chrono::time_point<std::chrono::local_t,       \fI(since C++20)\fP
   Duration>;
   using local_seconds = local_time<std::chrono::seconds>;                \fI(since C++20)\fP
   using local_days = local_time<std::chrono::days>;                      \fI(since C++20)\fP

   operator<<(std::chrono::local_time)     performs stream output on a local_time
   (C++20)                                 \fI(function template)\fP
   from_stream(std::chrono::local_time)    parses a local_time from a stream according
   (C++20)                                 to the provided format
                                           \fI(function template)\fP
   std::formatter<std::chrono::local_time> formatting support for local_time
   (C++20)                                 \fI(class template specialization)\fP

.SH See also

   zoned_time represents a time zone and a time point
   (C++20)    \fI(class)\fP
